#ifndef __DISPLAY_H__
#define __DISPLAY_H__

#include "drv_oled.h" 

void display_init(void);
void display_draw_circle(uint8_t x,uint8_t y,uint8_t r);
void display_clear_screen(void);

#define display_draw_line(x,y,width,height)     drv_oled_draw_line(x,y,width,height)
#define display_draw_rec(x,y,width,height)      drv_oled_draw_rec(x,y,width,height,1)
#define display_clear_screen()                  drv_oled_fill_screen(0,0,0)

void display_draw_ball(uint8_t x,uint8_t y,uint8_t r);
void display_draw_pulse(uint8_t offset,uint8_t width);

#endif